<h1>Listing question_types</h1>

<table>
  <tr>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @question_types.each do |question_type| %>
  <tr>
    <td><%= link_to 'Show', question_type %></td>
    <td><%= link_to 'Edit', edit_question_type_path(question_type) %></td>
    <td><%= link_to 'Destroy', question_type, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Question type', new_question_type_path %>
